package de.le.mfw.shared;

import com.google.gwt.user.client.rpc.IsSerializable;

public class UserDTO implements IsSerializable {
	private Long id;
	private String nick;
	private String email;
	private Boolean isAdmin;

	public UserDTO() {
	}

	public UserDTO(Long id, String nick, String email, Boolean isAdmin) {
		this.id = id;
		this.nick = nick;
		this.email = email;
		this.isAdmin = isAdmin;
	}

	public Long getId() {
		return id;
	}

	public String getNick() {
		return nick;
	}

	public String getEmail() {
		return email;
	}

	public Boolean isAdmin() {
		return isAdmin;
	}
}
